var express = require('express')
    , route = express.Router()
    , logger = require('log4js').getLogger('user.index.js');

var user = require('../../model').user;
var db = require('../../model').db;

route.use((req, res, next) => {
    logger.info(req.originalUrl);
    next();
});

route.get('/db', (req, res) => {
    res.send('12');
});

route.get('/', (req, res) => {
    res.send('test');
});

route.get('/about', (req, res) => {
    res.send('about test');
});

module.exports = route;